package com.example.concurrent.chapter16;

/**
 * @author Liuqz
 * @date 2018/11/26 23:25
 */
public class TablewarePair {


    //左手边的餐具
    private final Tableware leftTool;

    //右手边的餐具
    private final Tableware rightTool;

    public TablewarePair(Tableware leftTool, Tableware rightTool) {
        this.leftTool = leftTool;
        this.rightTool = rightTool;
    }


    public Tableware getLeftTool() {
        return leftTool;
    }

    public Tableware getRightTool() {
        return rightTool;
    }
}
